<template>
  <div class="me">
    <iframe style="width:100vw;height:100vh;" :src="url" frameborder="0"></iframe>
  </div>
</template>

<style lang="stylus"  scoped>
</style>
<script>
export default {
  name: "me",
  components: {
    // HelloWorld
  },
  data() {
    return {
    };
  },
  created(){
    console.log(111)
    console.log(this.$cookies)
    let  id  = this.$cookies.get('userInfo')?.id
    
    if(!isNaN(id)&&this.$cookies.get('token')){
        this.url = `https://ceshi.jifengyinyue.com/h5/user/index?id=${id}`
    }else{
      this.$router.push('/login')
    }
    
    
  },
  methods: {
    
  },
};
</script>
